@using Orchard.ContentManagement
@using Orchard.Utility.Extensions

@{
    ContentItem contentItem = Model.ContentItem;
    string typeDisplayName = contentItem.TypeDefinition.DisplayName ?? contentItem.ContentType.CamelFriendly();
    var pageTitle = T("New {0}", typeDisplayName);

    Layout.Title = pageTitle.Text;

    Script.Include("ContentCreator.js");
    Style.Include("ContentCreator.css");
}


@Display.HeadScripts()

@using (Html.BeginFormAntiForgeryPost(Url.Action("Create",
                                                 new {
                                                     callback = Request.QueryString["callback"],
                                                     contentType = Request.QueryString["contentType"],
                                                     returnUrl = Request.QueryString["returnUrl"]
                                                 }))) {
    @Html.ValidationSummary()
    // Model is a Shape, calling Display() so that it is rendered using the most specific template for its Shape type

    @Display(Model)
}